package com.pangus.ims.apiRm.dto;

import java.util.Date;

import javax.persistence.Id;

import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.pangus.common.excel.annotation.ExcelConfig;

import io.swagger.annotations.ApiModelProperty;

public class WmsApiRequestCount{
	
	@Id
	private String id;
	
	private Integer requestCount;
	
	private String requestIp; 
	
	private String requestMethod;
	
	
	/** 创建人 */
	@ApiModelProperty(required = true, value = "创建人", position = 2)
	@ExcelConfig(colIndex = 2)
	private String createdBy;

	/** 创建时间 */
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(required = true, value = "创建时间", position = 3)
	@ExcelConfig(colIndex = 3)
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
	private Date createdDate;

	/** 修改人 */
	@ApiModelProperty(required = true, value = "修改人", position = 4)
	@ExcelConfig(colIndex = 4)
	private String updatedBy;

	/** 修改时间 */
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(required = true, value = "修改时间", position = 5)
	@ExcelConfig(colIndex = 5)
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
	private Date updatedDate;
	
	
	
	
	public WmsApiRequestCount(String id) {
		super();
		this.id = id;
	}

	public WmsApiRequestCount() {
		super();
	}

	public String getCreatedBy() {
		return createdBy;
	}

	public void setCreatedBy(String createdBy) {
		this.createdBy = createdBy;
	}

	public Date getCreatedDate() {
		return createdDate;
	}

	public void setCreatedDate(Date createdDate) {
		this.createdDate = createdDate;
	}

	public String getUpdatedBy() {
		return updatedBy;
	}

	public void setUpdatedBy(String updatedBy) {
		this.updatedBy = updatedBy;
	}

	public Date getUpdatedDate() {
		return updatedDate;
	}

	public void setUpdatedDate(Date updatedDate) {
		this.updatedDate = updatedDate;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public Integer getRequestCount() {
		return requestCount;
	}

	public void setRequestCount(Integer requestCount) {
		this.requestCount = requestCount;
	}

	public String getRequestIp() {
		return requestIp;
	}

	public void setRequestIp(String requestIp) {
		this.requestIp = requestIp;
	}

	public String getRequestMethod() {
		return requestMethod;
	}

	public void setRequestMethod(String requestMethod) {
		this.requestMethod = requestMethod;
	}
	
}
